/*
 * $Id: OnWatchException.java,v 1.1 2009/04/20 16:39:44 afaichun Exp $
 * 
 * Copyright (C) 2008 General Electric Company. All Rights Reserved.
 * 
 * This software is the confidential and proprietary information of the General
 * Electric Company (GE). You shall not disclose this software and shall use it
 * only in accordance with the terms of the license agreement you entered into
 * with GE.
 * 
 * GE MAKES NO REPRESENTATIONS OR WARRANTIES ABOUT THE SUITABILITY OF THE
 * SOFTWARE, EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED
 * WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, OR
 * NON-INFRINGEMENT. GE SHALL NOT BE LIABLE FOR ANY DAMAGES SUFFERED BY LICENSEE
 * AS A RESULT OF USING, MODIFYING, OR DISTRIBUTING THIS SOFTWARE OR ITS
 * DERIVATIVES.
 */
package com.ge.healthcare.autosc.onwatch.exception;

import com.ge.healthcare.autosc.common.exceptions.BasicException;

public class OnWatchException extends BasicException {

	public static final long serialVersionUID = 0L;
	/**
	 * @param objThrowables
	 */
	public OnWatchException(Throwable objThrowable) {
		super(objThrowable);
	}

	/**
	 * @param objThrowable
	 * @param errorCode
	 */
	public OnWatchException(Throwable objThrowable, String errorCode) {
		super(objThrowable);
		this.errorCode = errorCode;
	}
	
	/**
	 * @param strMessage
	 * @param objThrowable
	 */
	public OnWatchException(String strMessage, Throwable objThrowable) {
		super(strMessage, objThrowable);
	}

	/**
	 * @param strMessage
	 * @param objThrowable
	 * @param errorCode
	 */
	public OnWatchException(String strMessage, Throwable objThrowable, String errorCode) {
		super(strMessage, objThrowable);
		this.errorCode = errorCode;
	}
	
	/**
	 * @param strMessage
	 */
	public OnWatchException(String strMessage) {
		super(strMessage);
	}

	/**
	 * @param strMessage
	 * @param errorCode
	 */
	public OnWatchException(String strMessage, String errorCode) {
		super(strMessage);
		this.errorCode = errorCode;
	}
}
